import Layout from '@/layout';

const distributionRouter = {
  path: '/base',
  component: Layout,
  name: 'base',
  meta: {
    title: '基础',
  },
  children: [
    {
      path: 'city_list',
      component: () => import('@/views/base/city/index'),
      name: 'cityList',
      meta: { title: '城市列表', icon: '' },
    },
    {
      path: 'company_list',
      component: () => import('@/views/base/companyList/index'),
      name: 'companyList',
      meta: { title: '门店列表', icon: '' },
    },
    {
      path: 'staff_list',
      component: () => import('@/views/base/staff/index'),
      name:'staffList',
      meta: { title:'服务人员列表',icon:''}
    },
    {
      path: 'staff_apply',
      component: () => import('@/views/base/staffApply/index'),
      name:'staffName',
      meta: { title:'服务人员申请',icon:''}
    },
    {
      path: 'company_apply',
      component: () => import('@/views/base/companyApply/index'),
      name:'companyApply',
      meta: { title:'门店申请',icon:''}
    },
    {
      path:'stair_list',
      component: () => import('@/views/base/stair/index'),
      name:'stairList',
      meta: { title:'服务分销',icon:''}
    },
    {
      path:'agent_list',
      component: () => import('@/views/base/agent/index'),
      name:'agentList',
      meta:{title:'代理维护',icon:''}
    },
    {
      path:'agent_extract',
      component: () => import('@/views/base/agentExtract/index'),
      name:'agentExtractList',
      meta: {title:'代理提现审核',icon:''}
    }
  ],
};

export default distributionRouter;